<?php 
define('RUN_KATANA', true);
define('RUN_COMMANDER', true);
require('../includes/config.php'); 
require('../includes/loader.php');
require('includes/core.php'); 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Katana Commander</title>
<link rel="icon" type="image/ico" href="/favicon.ico" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<?php require('includes/css/commander.php'); ?>
<?php require('includes/js/commander.php'); ?>
</head>
<body>
<?php if($user->getLevel() > 4): ?>
<?php require('includes/html/header.php'); ?>
	<div id="mid">
    	<div class="mid_padding">
        	<div class="mid_wrap">
            	<div id="mid_content">
                	<?php echo getBorderHTML('', 'top', 1); ?>
<?php endif; ?>
					<?php require('includes/html/content.php'); ?>
<?php if($user->getLevel() > 4): ?>
                    <?php echo getBorderHTML('', 'bottom', 1); ?>
                    <p><?php echo 'Memmory Usage: '.memory_get_usage();?></p>
            	</div>
            </div>
    	</div>
	</div>
<?php endif; ?>
</body>
</html>
